package com.qf.dblib.dao.entity;

import org.litepal.crud.LitePalSupport;

/**
 * 定位信息对象
 * 2020/4/1 17:33
 */
public class LocationBean extends LitePalSupport
{
    private double lng;         //经度
    private double lat;         //纬度
    private String adCode;      //区域编码
    private String city;        //市
    private String country;     //乡
    private String province;    //省


    public double getLng()
    {
        return lng;
    }

    public void setLng(double lng)
    {
        this.lng = lng;
    }

    public double getLat()
    {
        return lat;
    }

    public void setLat(double lat)
    {
        this.lat = lat;
    }

    public String getAdCode()
    {
        return adCode == null ? "" : adCode;
    }

    public void setAdCode(String adCode)
    {
        this.adCode = adCode;
    }

    public String getCity() {
        return city == null ? "" : city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country == null ? "" : country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province == null ? "" : province;
    }

    public void setProvince(String province) {
        this.province = province;
    }
}
